import axios from 'axios'
export default function(search,offset,limit){
  offset=offset||0;
  limit=limit||30;
  return axios.get('http://mycurry.top:3002/search?keywords='+search+'&offset='+offset+'&limit='+limit)
}
function introductions(id){
  return axios.get('http://mycurry.top:3002/artist/desc?id='+id);

}
export {introductions}

export function album(id,limit) {
  return axios.get('http://mycurry.top:3002/artist/album?id='+id+'&limit='+limit);
}

export function albumList(id){
  return axios.get('http://mycurry.top:3002/album?id='+id);
}
